//
//  BrandModel.m
//  Project_A Gary
//
//  Created by leilei on 16/4/7.
//  Copyright © 2016年 www.lei.com. All rights reserved.
//

#import "BrandModel.h"
#import "DrawerModel.h"

@implementation BrandModel

-(void)dealloc
{
    [_name release];
    [_serialArr release];
    [super dealloc];
    
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"serials"]) {
        self.serialArr = [DrawerModel transformWithArray:value];
    }
}
@end
